require(['./config'],()=>{
    require(['jquery','ajax','loop','render','paging'],($)=>{
        $('.header-container').load('./html/header.html')
        $('.footer-container').load('./html/footer.html')
    })
})

let user=document.querySelector('#des')
let btn1=document.querySelector('#btn1')
let btn2=document.querySelector('#btn2')
let img=document.querySelector('.img')
let imgs=document.querySelector('.imgs')
for(let i=0;i<localStorage.length;i++){
    user.innerHTML='欢迎用户：'+localStorage.key(i)
    user.style.fontSize='24px'
    user.style.color='#fc8b0d'
    img.style.background='url(//s0.meituan.net/bs/fe-web-meituan/6937298/img/head-img.png)'
    img.style.backgroundSize=' 55px 55px'
    imgs.style.marginTop='50px'
    imgs.style.marginBottom='10px'
    btn1.style.display='none'
    btn2.style.display='none'
  }
  